
class Bird(object):
    have_feather = True
    way_of_reproduction = 'egg'
    position = [0,0]
    def move(self, dx, dy):
        self.position[0] = self.position[0] + dx
        self.position[1] = self.position[1] + dy
        return self.position
    def eat(self):
        print("吃东西")
        return "吃饱了"
class Chicken(Bird):
    way_of_move = 'walk'
    possible_in_KFC = True

class Oriole(Bird):
    way_of_move = 'fly'
    possible_in_KFC = False

summer = Chicken()
print(summer.have_feather)
print(summer.way_of_reproduction)
print(summer.way_of_move)
print(summer.possible_in_KFC)
print(summer.eat())
